package com.ecfront.pojo;


/**
 * 商铺友情链接
 * 
 * @version 1.0
 * @author zhufeng
 */
public class Link {

	private int id;// 友情链接ID
	private String name;// 友情链接名称
	private String imgUrl;// 友情链接图片链接
	private String wordUrl;// 友情链接文字链接
	private int level;// 友情链接排序
	// 以下是一对一唯一外键关联
	private Shop shop;// 友情链接所属商店

	public Link() {}
	public Link(int id) {
		this.id = id;
	}
	public Link(int id, Shop shop, String name, String imgUrl,
			String wordUrl, int level) {
		this.id = id;
		this.shop = shop;
		this.name = name;
		this.imgUrl = imgUrl;
		this.wordUrl = wordUrl;
		this.level = level;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getWordUrl() {
		return wordUrl;
	}

	public void setWordUrl(String wordUrl) {
		this.wordUrl = wordUrl;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}
}
